﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeDomHelper.Types
{

    [Serializable()]
    public class TypeArrayExpression : TypeExpression
    {

        [System.Diagnostics.DebuggerStepThrough()]
        public TypeArrayExpression(BuildTypeExpression expression)
            : base(expression)
        {
           
        }


        internal protected override void Parse()
        {

            Rank = _lexicalAnalyzer.Rank;
            while (TokenType.EndOfFile != _lexicalAnalyzer.MoveNext())
            {
                TypeName += _lexicalAnalyzer.Value;
                break;
            }
            
        }

    }
}
